package com.project.light.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Table(name = "B_District")
public class District implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 区域编号
     */
    @Column(name = "DistrictCode")
    private String districtCode;

    /**
     * 区域名称
     */
    @Column(name = "DistrictName")
    private String districtName;

    /**
     * 区域类型
     */
    @Column(name = "DistrictType")
    private Integer districtType;

}
